home *** CD-ROM | disk | FTP | other *** search
/ Collection of Tools & Utilities / Collection of Tools and Utilities.iso / dskut / oc210.zip / OC.DOC < prev    next >
Text File  |  1991-05-06  |  5KB  |  131 lines

  1.                     Opticopy V2.10 (c) (With ZIP Split.)
  2.  
  3.                          P J Tewkesbury. April 1991.
  4.  
  5.                          This program is Shareware.
  6.  
  7. Opticopy V2.10 (c) P J Tewkesbury was based on a program of the same name by
  8. Alan D. Ariel.
  9.  
  10. Disclaimer
  11.  
  12. The developer of this software makes absolutely no warranty or guarantee as
  13. to program performance or suitability for a given purpose. You use
  14. OPTICOPY V2.10 your own risk.
  15.  
  16. What is Opticopy?
  17.  
  18. Have you ever thought you had exactly the right number of disks to copy all
  19. of the files you needed, only to discover you were wrong ? That is the
  20. purpose behind OPTICOPY. It determines the minimum number of disks needed to
  21. copy a group of files to floppy disk. It accepts as many directory masks
  22. (e.g., *.PAS) as will fit on the command line. It looks at the cluster size
  23. of all of the files and determines the best copying scheme for the minimum
  24. number of disks using a modified best fit algorithm. OPTICOPY does NOT do the
  25. copying for you. Instead, it produces a batch file which you can run to
  26. accomplish the copying.
  27.  
  28. Command Line Format.
  29.  
  30. Usage :- OC <Target Drive> <Opticopy Size> <mask> [/<options>]
  31.                     [<mask> [/<options>] ...
  32.  
  33. <Target Drive>   : This is either A: or B: When the program is run, a disc of
  34.                    the correct density will have to be in the drive, so that
  35.                    Opticopy can obtain the correct number of clusters per
  36.                    disc.
  37.  
  38. <Opticopy Size> : This parameter can be any number between 1 and 4, and
  39.                   specifies the size to opticopy to.
  40.                   1 : 360Kb
  41.                   2 : 720Kb
  42.                   3 : 1.2Mb
  43.                   4 : 1.44Mb
  44.  
  45. <mask>           : Each mask can include a pathname and the name of a file,
  46.                    or a wild card. The options which can be specified can be
  47.                    selected for each mask.
  48.  
  49. <options>        : There are 2 different options which can all be used
  50.                    together. Options are specified by using the '/'
  51.                    character, and then the option letter. Note, only one '/'
  52.                    character is needed per set if option letters.
  53.  
  54. /S option        : This option will make Opticopy check all the
  55.                    subdirectories using the same wild card. In this way,
  56.                    complete applications with there own directory structures
  57.                    can be opticopyed.
  58.  
  59. /R option        : This option will reproduce the directory structure on the
  60.                    target discs.
  61.  
  62.  
  63. Examples:-
  64.  
  65. OC A: C:\APPS\WP51\*.* /SR D:\APPS\PBRUSH\*.PCX
  66.  
  67. This command will produce a OPCOPY.BAt file on the current directory. The
  68. batch file will include all the files from C:\APPS\WP51\*.* including all the
  69. subdirectories in the directory, and all the PCX files in D:\APPS\PBRUSH
  70. directory. The directory structure will also be reproduced on the target
  71. drive for the C:\APPS\WP51 files.
  72.  
  73. Special Features of Opticopy V2.10
  74.  
  75. A. A check of the number of files placed in the root directory is made. And
  76. error will be reported if too many files are placed in the root directory of
  77. the target disc. (112 files per root directory for 360K, and 720K discs, and
  78. 224 files per root directory for 1.2Mb and 1.44Mb discs.)
  79.  
  80. B. Directory structures can be produced on the targets discs. XCOPY can then
  81. be used to transfer the files back to a hard disc.
  82.  
  83. C. The size of the directories is taken into account when the Opticopy is
  84. working.
  85.  
  86. D. If Opticopy V2.10 comes across a ZIP file which is larger than the target
  87. disc, then Opticopy will then split the ZIP file into a number of smaller ZIP
  88. files. These files are then Opticopyed in the usual way. (See ZIP Split for
  89. more information.)
  90.  
  91. E. If Opticopy V2.10 comes across a files which is larger that the target
  92. disc, then it is removed from the list of files to opticopy. The name of the
  93. file is also displayed on screen.
  94.  
  95. Opticopy Error Codes.
  96.  
  97. There are the error codes which are returned to MSDOS via errorlevel.
  98.  
  99. Error Code   Source File   Error.
  100. ---------------------------------------------------------------------------
  101. 0                          All OK.
  102. 1            oc_scan       No free memory for sfile array
  103. 2            oc_scan       No free memory for tree array
  104. 3            oc_sub        No free memory for files array
  105. 4            oc_sub        Invaild number of parameters given
  106. 5            oc_sub        Invaild target drive specified.
  107. 6            oc_sub        Invaild opticopy size specified
  108. 7            oc_sub        Error with ZIP Split.
  109. 8            oc_sub        Option given, but no preceeding mask.
  110. 9            oc_sub        To many files for root directory.
  111. 10           oc_sub        No files to opticopy.
  112.  
  113. Shareware Notice.
  114.  
  115. Under the Shareware Concept, the release disks may be freely copied and shared to
  116. allow others to try Opticopy V2.10. We suggest that this "Evaluation Period"
  117. be limited to 30 days. If you use Opticopy V2.10, we expect you to register
  118. your copy.
  119.  
  120. To Register your copy of Opticopy V2.10, please send £10 to the author. (See
  121. Below.) Also, if you find any bugs, or have any comments about Opticopy V2.10,
  122. please send then to the author with a SAE for your reply.
  123.  
  124. Author:-
  125.     Mr P J Tewkesbury,
  126.     26 Garthorp Road,
  127.     Northrern Moor,
  128.     Manchester,
  129.     M23 OAS,
  130.     England.
  131.